package demo.service;

import java.util.List;

import demo.entity.Transfer;

public interface TransferService {

	public boolean addTransfer(Transfer t);
	
	public boolean updateTransfer(Transfer t);
	
	public boolean deleteTransfer(Integer id);
	
	public Transfer getTransferById(Integer id);
	
	public List<Transfer> getAllTransfer(Transfer transfer,Integer pageNo,Integer pageSize);
	
	public int updateState(Integer id,Integer state);
}
